import request from '@/util/request.js'
/**
 * @description 家政服务分类
 * @param data
 * @returns {*}
 */
export function getCategoryApi(data) {
	return request({
		url: '/getCategory',
		method: 'GET',
		data
	})
}
/**
 * @description 家政服务列表
 * @param data
 * @returns {*}
 */
export function getServiceListApi(data) {
	return request({
		url: '/homeServiceList',
		method: 'GET',
		data
	})
}
/**
 * @description 详情
 * @param data
 * @returns {*}
 */
export function getServiceDetailApi(id) {
	return request({
		url: `/homeServiceDetail/${id}`,
		method: 'GET'
	})
}